package cn.ad.server.web.spring.model.gdt;

import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

public class GDTDevice {

	@Protobuf
	private String id;

	@Protobuf(fieldType = FieldType.ENUM)
	private GDTDeviceType device_type;

	@Protobuf(fieldType = FieldType.ENUM)
	private GDTOs os;

	@Protobuf
	private String os_version;

	@Protobuf
	private String user_agent;

	@Protobuf
	private int screen_width;

	@Protobuf
	private int screen_height;

	@Protobuf
	private int dpi;

	// 设备运营商
	@Protobuf(fieldType = FieldType.ENUM)
	private GDTCarrier carrier;

	@Protobuf(fieldType = FieldType.ENUM)
	private GDTConnectionType connection_type;

	@Protobuf
	private String brand_and_model;

	@Protobuf
	private String language;

	@Protobuf
	private String idfa;

	@Protobuf
	private String manufacturer;

	@Protobuf
	private String android_id;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public GDTDeviceType getDevice_type() {
		return device_type;
	}

	public void setDevice_type(GDTDeviceType device_type) {
		this.device_type = device_type;
	}

	public GDTOs getOs() {
		return os;
	}

	public void setOs(GDTOs os) {
		this.os = os;
	}

	public String getOs_version() {
		return os_version;
	}

	public void setOs_version(String os_version) {
		this.os_version = os_version;
	}

	public String getUser_agent() {
		return user_agent;
	}

	public void setUser_agent(String user_agent) {
		this.user_agent = user_agent;
	}

	public int getScreen_width() {
		return screen_width;
	}

	public void setScreen_width(int screen_width) {
		this.screen_width = screen_width;
	}

	public int getScreen_height() {
		return screen_height;
	}

	public void setScreen_height(int screen_height) {
		this.screen_height = screen_height;
	}

	public int getDpi() {
		return dpi;
	}

	public void setDpi(int dpi) {
		this.dpi = dpi;
	}

	public GDTCarrier getCarrier() {
		return carrier;
	}

	public void setCarrier(GDTCarrier carrier) {
		this.carrier = carrier;
	}

	public GDTConnectionType getConnection_type() {
		return connection_type;
	}

	public void setConnection_type(GDTConnectionType connection_type) {
		this.connection_type = connection_type;
	}

	public String getBrand_and_model() {
		return brand_and_model;
	}

	public void setBrand_and_model(String brand_and_model) {
		this.brand_and_model = brand_and_model;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getIdfa() {
		return idfa;
	}

	public void setIdfa(String idfa) {
		this.idfa = idfa;
	}

	public String getManufacturer() {
		return manufacturer;
	}

	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}

	public String getAndroid_id() {
		return android_id;
	}

	public void setAndroid_id(String android_id) {
		this.android_id = android_id;
	}

}
